.hero-design {
  /* On définit la hauteur de la section */
  height: 450px;
  
  /* L'astuce : On superpose le dégradé AVANT l'image dans la liste des backgrounds */
  background: 
    linear-gradient(
      to right, 
      rgba(26, 43, 75, 0.85),  /* Bleu foncé transparent à gauche */
      rgba(255, 204, 0, 0.75)  /* Jaune/Or transparent à droite */
    ),
    url('bureau.jpg'); /* Remplacez par votre fichier image */

  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2); /* Pour détacher le texte */
}

.hero-content p {
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/*-------------------*/


:root {
  --primary-blue: #1a2b4b;
  --text-gray: #64748b;
  --bg-light: #f8fafc;
}

.services-container {
  padding: 60px 20px;
  background-color: var(--bg-light);
  font-family: 'Segoe UI', sans-serif;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Centre les éléments de la dernière ligne */
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-card {
  background: white;
  flex: 0 1 calc(25% - 20px); /* 4 colonnes par défaut */
  min-width: 250px;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  border: 1px solid #e2e8f0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  text-align: left;
}

/* --- ANIMATION 1 : La case monte au survol --- */
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

.icon-box {
  width: 50px;
  height: 50px;
  background-color: #f1f5f9;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 20px;
  transition: transform 0.3s ease; /* Pour l'effet zoom */
}

/* --- ANIMATION 2 : Zoom de l'icône au survol précis de celle-ci --- */
.icon-box:hover {
  transform: scale(1.3);
}

/* Couleurs des icônes */
.color-plane { color: #3b82f6; }
.color-design { color: #f59e0b; }
.color-comm { color: #fbbf24; }
.color-indus { color: #64748b; }
.color-mine { color: #0e59c2; }
.color-safety { color: #10b981; }
.color-oil { color: #1e293b; }

.service-card h3 {
  color: var(--primary-blue);
  font-size: 1.1rem;
  margin-bottom: 12px;
  font-weight: 700;
}

.service-card p {
  color: var(--text-gray);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* Responsive : 2 colonnes sur tablette, 1 sur mobile */
@media (max-width: 1024px) {
  .service-card { flex: 0 1 calc(50% - 20px); }
}
@media (max-width: 600px) {
  .service-card { flex: 0 1 100%; }
}
/*--------------*/

:root {
  --dark-blue: #1a2b4b;
  --accent-yellow: #f9d423;
  --text-light: #ffffff;
}

.creative-section {
  padding: 50px;
  display: flex;
  justify-content: center;
}

.creative-container {
  display: flex;
  max-width: 1100px;
  border-radius: 20px;
  overflow: hidden; /* Important pour que l'image ne dépasse pas lors du zoom */
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

/* --- Partie Gauche (Bleue) --- */
.text-content {
  background-color: var(--dark-blue);
  color: var(--text-light);
  padding: 60px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.label {
  color: var(--accent-yellow);
  font-weight: bold;
  margin-bottom: 15px;
  display: block;
  font-size: 1.7rem;
}

.text-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.text-content p {
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* --- Bouton avec animation Zoom --- */
.btn-realisations {
  display: inline-block;
  background-color: white;
  color: var(--dark-blue);
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  width: fit-content;
  transition: transform 0.3s ease; /* Animation de transition */
}

.btn-realisations:hover {
  transform: scale(1.1); /* Zoom avant de 10% */
}

/* --- Partie Droite (Image) --- */
.image-container {
  flex: 1;
  background-color: white;
  overflow: hidden; /* Coupe l'image si elle dépasse pendant le zoom */
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease; /* Animation fluide pour l'image */
}

/* --- Animation Zoom sur l'image au survol --- */
.image-container:hover img {
  transform: scale(1.15); /* Zoom avant de 15% */
}

/* Responsive pour mobiles */
@media (max-width: 768px) {
  .creative-container {
    flex-direction: column;
  }
  .text-content {
    padding: 30px;
  }
}